package com.xsp.eduservice.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xsp.eduservice.entity.EduTeacher;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xsp.eduservice.entity.vo.TeacherQuery;

import java.util.Map;

/**
 * <p>
 * 讲师 服务类
 * </p>
 *
 * @author testjava
 * @since 2021-12-15
 */
public interface EduTeacherService extends IService<EduTeacher> {
    //条件分页
    Page<EduTeacher> pageCourseCondition(long page, long limit, TeacherQuery teacherQuery);

    //另外一种分页(用于前台讲师)
    Map<String, Object> pageTeacherList(Page<EduTeacher> teacherPage);
}
